#include "CellTest.h"
#include "Cell.h"
#include "Timeout.h"

CPPUNIT_TEST_SUITE_REGISTRATION(CellTest);

void CellTest::setUp() {
	START_TIMEOUT(1000);
}

void CellTest::tearDown() {
	STOP_TIMEOUT();
}

void CellTest::testOutputOperator() {
	Cell cell('X');
	ostringstream actual;
	actual << cell;

	ostringstream expected;
	expected << "X";

	CPPUNIT_ASSERT_EQUAL(expected.str(), actual.str());
}
